package com.course.design.service.impl;

import com.course.design.dao.FriendMapper;
import com.course.design.entity.UserFriends;
import com.course.design.service.FriendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 描述:
 *
 * @author qinlianji
 * @create 2020-03-07
 */
@Service
public class FriendServiceImpl implements FriendService {

    @Autowired
    private FriendMapper friendMapper;
    @Override
    public void save(UserFriends friend) {
        friendMapper.insert(friend);
    }
}
